<html>
<head>
<link type="text/css" rel="stylesheet" href="/stylesheets/main.css" />
</head>
  <body>

	<a href="/meus-achados">Login</a>

	<form action="/" method="get">
		<input type="text" name="nome" value="{{ nome|escape }}">
		<input type="submit" value="Buscar">
	</form>

	{% if achados %}
	<table border="1">
	<tr>
		<th>Nome</th>
		<th>RG</th>
		<th>CPF</th>
		<th>T&iacute;tulo de Eleitor</th>
		<th>Habilita&ccedil;&atilde;o</th>
		<th>Outros</th>
	</tr>
    {% for achado in achados %}
	<tr valign="top">
		<td>{{ achado.nome|escape }}</td>
		<td align="center">&nbsp;{%if achado.rg%}X{%endif%}</td>
		<td align="center">&nbsp;{%if achado.cpf%}X{%endif%}</td>
		<td align="center">&nbsp;{%if achado.titulo_de_eleitor%}X{%endif%}</td>
		<td align="center">&nbsp;{%if achado.cnh%}X{%endif%}</td>
		<td align="center">&nbsp;{%if achado.outros%}X{%endif%}</td>
	</tr>
    {% endfor %}
	</table>
	{% endif %}


  </body>
</html>

